package struct.decorator;

/**
 * Created by hmily on 2017/9/7.
 */
public class TestMain {

    public static void main(String[] args) {

        Decorator decorator = new Decorator(new Source(new Target(new MyDecorator())));
        decorator.method();
    }
}
